package 泛型;

public class MyArraylisttest {
    public static void main(String[] args) {
        MyArraylist类<String> mylist=new MyArraylist类<>();
        mylist.add("aaa");
        mylist.add("bbb");
        mylist.add("ccc");
        System.out.println(mylist.toString());
        System.out.println(mylist.size);
        mylist.set(1,"zzz");
        System.out.println(mylist.toString());
    }
}
